Vectorized Regularized Logistic Regression Cost Function. Brookside Beauty Exercise2 Regularized Logistic Regression Gradient Descent Algorithm from brooksidebeauty.blogspot.com