Make function for probability, bootstrap
Merge pull request #2 from mattybeam/patch-2

Make function for probability, bootstrap