How to determine which quadrant an angle lies in radians?