sumSquaredErrorsRegression

Assuming a linear fit between X and Y, this returns the sum of squared error of the regression of the fit