Added mains freq and sample rate to sine.c