pub fn check_convergence( f_delta: f64, x_delta: f64, g_norm: f64, ftol: f64, xtol: f64, gtol: f64, ) -> bool
Check convergence criteria