Move check of Jacobian matrices for NaN and Inf to dedicated function for reuse in model_diagnostics.m
Expand model_diagnostics.m to check Jacobians for NaN and Inf
Merge pull request #643 from JohannesPfeifer/Jacobian

Improve checks of Jacobian