add runTest function to multivariateAB, document other methods, update the index.html per changes