Fix display of residuals before displaying error message

The computed steady state was not updated.
Fix model_diagnostics.m for case where check1 contains NaN as second output

Also stops execution when steady state could not be computed as Jacobian at this incorrect steady state is wrong.
Merge pull request #464 from JohannesPfeifer/steady_display

Bug fixes for display of problems with steady state