I have somehow completely messed up the tensor model fit algorithm. Not sure what I did.