Not Reaching Full RPM's with Stepper Motor and Arduino Uno

Look here AccelStepper: AccelStepper Class Reference for information on setting up the constructor for stepper driver boards with step and dir inputs.