Yes, we did.  However, I now think it makes more sense to leave these gradient functions where they are b/c the same gradient functions will be used for multiple ML algorithms, e.g., Lasso, Ridge regression and Linear Regression all use the SquaredGradient.