Added vectorized Neural Network Learning code