Convert degrees to radians before sin and cos