convergence loop added; equation2 method added