Add sinewave demo, except currently does square waves