Switch to atan2 and add assert

Merge request reports

Loading