removed bootstrap from calibrate.R, started invest.R (needs most work), updated examples, and other minor changes