fixed bug in stations2targets
waveform plot