Fixed an off by 1 error I discovered that would sometimes lead to an incorrect model solution (the model would go 1 position past where it should have). The error was a quick and easy fix. I also commented out some console logging and removed some commented out code that was no longer necessary.