Update logistic_regression.c