"fixed" bug where result of a failed run is not infinity.

(still need to clear the model directories, and maybe fix it in code)
(Maybe I could just remove the offending files myself from the tmp directory)
Better fix for the "infinity" bug. Solves the problem instead of giving up.