Updated ViewController to use SineWave