linear speed control of stepper motor - linear speed ramp