NN Forward and back propagation

Neural Network forward and backpropagation, vectorized.