STABLE: Outputs a test sine wave specified in main