Slightly modify sine waveform