Added conversion of angles from degrees to radians