[WIP] Implementing Averaged SGD

Working on implementing averaged SGD for both classifier and regressor for #543
average_sgd should not take an average param.