Functions useful in the design and ANOVA of experiments