Added a basic sine wave generator.