Cartesian coordinates (x, y) to polar coordinates (r, a) where x = r * cos(a), y = r * sin(a) and r^2 = x^2 + y^2
The output is in radians and is in the range -PI to PI.