optim_sa function

Root solver by Stochastic Approximation