Some changes to increase compatibility with OptimisedStackShifter.
Added a new class for drift correction.
The call of this drift correction will soon be changed.