Add calibrationEvent object config parameter allowing user to define which events trigger the calibrate method fixes #10