Waveform generation in phase shift oscillators using harmonic programming techniques