Stepper motor Closed Loop Problems

https://forum.arduino.cc/index.php?topic=537689.msg3664453#msg3664453