Stochastic optimization using ordinary least squares to approximate the Hessian.