Changes to waveGenerator

added constants and limits on the wave generator