Fixed a small error with the scanner where the SOCJT object was being set to null after each step.
Fixed an error where the matricesMade variable was being set to true in the linear case before all matrices had been generated.