[WIP] Implementing Averaged SGD

Working on implementing averaged SGD for both classifier and regressor for #543
works with decimal=14 on my box. As the results should be equal up to numerical precision you could lower the tol.