Bug fix: Converting result of math.atan2() back to degrees.