A New Algorithm for Stochastic Approximation