Correlation and Sum of Squared Difference