Cost function is implemented but it's ugly
Implemented a nicer vector based version of the cost function
Implemented cost function for NN with regularization