Off the top of my head while traveling I don't recognize ramp(). 36000 is 360 degrees in my function call. 1200 is 12 RPM.