Update meanSqrDiff.m