Update methods for writing waveform and sequence data.

--BRJ and CAR
Add waveform testing file.

--BRJ