No - problem isn't in the Arduino SW. It is something in the adjustment of the pulleys for the variable speed drive. My assumption is the two pulleys aren't closing down enough on the front drive, which would create a bigger pulley on the front, slowing down the spindle.