sine function

added sine wave generator