Defines all possible formulas to calculate trim.
Calibration using first order for non-periodic calibration.
Calibration using second order for periodic calibration.