Improved version of single stepper motor library for Arduino