high sampling rate evolution added. code wont compile as the vector names used in waveform generation part mismatch the ones in dynamics