Added converged() to find whether the search is converging