public static double[] getSumSinuses(double[] angles, int type){
		double [] LAngles = new double [2];	//LAngles = LocalAngles	
		
		for (int i=0; i < angles.length;i++){
			if (type == 0){
			LAngles[i] = Math.cos(Math.toDegrees(angles[i]));
		}	
			else {
					if (type == 1){
						LAngles[i] = Math.sin(Math.toDegrees(angles[i]));
					}
			}
		}
		System.out.println(LAngles[0]);
		return LAngles;
		
	}