private float getAngle(float hyp, float cX,float cY)
	{
		double angle = Math.acos(cX/hyp);
		if(cY < 0 && cX > 0)
			angle = -angle;
		else if(cY < 0 && cY < 0)
			angle = -angle;
		else if(cX == 0 && cY < 0)
			angle = -angle;
		return (float)(angle);
	}