php requires radian arguments to trig functions