finished implementing vectorized logistic regression for neural network