Implement pure atan2.