test updates
moved lookup logic to WaveTable
added GenPulse, some dsp routines used by it