Correction of the input data