Calculate the correct current limit for driver A4988

The circuits came from the reference for the Stepper library.