changed gamma_ij iteration to gammaBar_ij iteration.