- more logic on the trigonometric function stuff.