Added transition to sine wave