adding algorithm for stochastic gradient