replaced applies with loops, for callbacks

in anovaBF, regressionBF, and generalTestBF