SUMX2MY2 function

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