generalTestBF function

Function to compute Bayes factors for general designs