Sum of squares calculation