change of activation functions
Regularization motification bug
Correcting cost function calculation