Fixed pass-by-ref error in automaton
Improved waveform plotting
plot_waveform in root
parallelize testing using multiprocessing