Use atan2 in rotationAngle methods