increased accuracy of degToRad function, fixed minor rotation bug