added script for simulating pulse synthesis from a number of harmonics.