Make function for probability, bootstrap

I think we just have the Wald test to do.