fixed a minor bug with ANOVA calculation