New refine entry for the atan2 function

This pull request adds the function refine_atan2. Compared with  PR #8476 in this one the functions is more clearly written with consisten variable names y, x. The doc string function is also corrected.