Output convergence added

not tested