minor changes to calibrate.R, utilities.R, and examples.R