Added bootstrap function to stats

I've added a bootstrap function to stats. This will allow for an easy way to perform bootstrap resampling to find confidence intervals of statistics.