[WIP] Implementing Averaged SGD

Working on implementing averaged SGD for both classifier and regressor for #543
Do you mean if ```T==1``` then the ```t' - t``` implementation will give a zero weight vector?