Fix bug with indices in calibration tutorial