Added conversion method for waveforms
Added conversion method for waveforms