new refine entry for the  atan2 function