Confidence Calibration for Systems with Cascaded Predictive Modules