Updated to include a minimum running speed (max period)

as the stepper does not run below a certain speed was getting poor
behaviour.

Need to do testing to figure out what the optimal start up speed is