Added new trigonometry for GazeDirector