Sine waveform distorted