fixed conversion from degrees to radians