[WIP] Implementing Averaged SGD

Working on implementing averaged SGD for both classifier and regressor for #543
It's appended to the cblas_libs array and then that's passed to the libraries parameter