Vectorized Forwardpass

Need to vectorize backpropagation