Updated paramters.
Training networks with batch gradient descent.