find difference between the sum of squares and sqaure of sums