Added global correction for MD alignment