Add phase() to waveform objects