#3: This is what it takes to vectorize logistic regression.