added convergence check for variable number of iterations
small figure fix