SSE function

Compute Sum of Squared Residuals for a Model Fit.