Implemented convergence flags in linear solvers