P.G.PC.A.2: Convert between rectangular and polar coordinates.