Found bug in stepper motor code. Was including fractional in thresholding for dividend and quotient. Explains why it wouldn't converge. Hopefully it works now