Updated iteration count for GMRES method
Added support for selectively updating Jacobian