Add regularization to the backpropagation