Rejiggered the gradient descent API to use a reference to the parameters, fleshed out MomemtumGradient and simplified NeuralNet to match the new descent API