added tom file, code that plots the waveform