add meanfdiff, meanabsdiff, and meansqdiff