[WIP] Implementing Averaged SGD for #543

Working on implementing averaged SGD for both classifier and regressor