Change 'atan2' domain to be nonzero