Define mag and angle in terms of real and imag parts.