Fixed issue of putting degree values into math functions requiring radians