check_convergence function

Check the Convergence According to the Convergence Threshold