Add basic sum of squares.