Add new method to calculate the rate given a tuple and the rates
Clean up bootstrapping example and add comments