Added more phasor calc functions