Script for generating a sine wav