[WIP] Implementing Averaged SGD

Working on implementing averaged SGD for both classifier and regressor for #543
Sorry I misunderstood at first. The vector that is being added (x in this case) will be ```const``` and the vector that is being added to (y in this case), will not be ```const```. Is that what you had in mind?