Updated stochastic gradient descent

Still worse than batch gradient descent, though