added intercept extractin as part of get_best_beta in glm_helpers