ML ex3 Updated

Vectorized the NN