Filter out Inf in Jacobian to get rid of most cryptic errors about Lapack function dgges

Also adds additional debugging info