SumSquareDiff added