Tidy up

removal of unused code
Fix to Bayesian ANOVA form

modelTerms is now handled correctly