Fix MATLAB call to transfer_waveform

--BRJ