ANN Vectorized with Cost Function
ANN Vectorized with Cost Function