added boostrapping

Adapted code from http://adorio-research.org/wordpress/?p=12295

It creates the bias and confidence intervals automatically. Tested and working.