Fixes for arctan, arctan2