Added small tweaks to make CW waveform generator a bit faster.