fixing minres -> minimal residual