wrote stochastic gradient descent method