Conversion between Rectangular and Polar Forms