cleaning up code and fixed radians/degrees bug