Sine function added, and will generate a sine with a frequency and sustain given as arguments