I'm trying to use atan on the slope of a line to calculate the angle to rotate an object, however atan doesn't seem to give the correct results. I have no problems with sin and cos. I can give a test watchface that demonstrates the problem if you like.