Adding support for atan2