private Point getPointFromMyo(double pitch, double yaw) {
		Point point = new Point();
		double x, y;
		if (topGreater) {
			y = HEIGHT - (((pitch - info.getPitchBottom()) / (info.getPitchTop() - info.getPitchBottom())) * HEIGHT);
		} else {
			y = ((pitch - info.getPitchTop()) / (info.getPitchBottom() - info.getPitchTop()) * HEIGHT);
		}
		if (rightGreater) {
			x = ((yaw - info.getYawLeft()) / (info.getYawRight() - info.getYawLeft())) * WIDTH;
		} else {
			x = WIDTH - (((yaw - info.getYawRight()) / (info.getYawLeft() - info.getYawRight())) * WIDTH);
		}
		
		if (x > (double)WIDTH) x = (double)WIDTH - 14.0;
		if (y > (double)HEIGHT) y = (double)HEIGHT - 42.0;
		
		if (x < 0.0) x = 0.0;
		if (y < 0.0) y = 0.0;
		
		point.setLocation(x, y);
		//System.out.println(x + ", " + y);
		return point;
	}