Returns the sum of the sum of squares of corresponding values in two arrays