inserted convex algorithm to mle_gamma_algorithm