removing the extra parameter from ComputeSSE2 and ComputeSSEGradient2