added default value for x in makeSineSignal