Sum of squared deviations