35.Simplified Cost Function for Logistic Regression