[A] Baseline Drift Removal Algorithm

Baseline drift removal algorithm using median of previously collected
data has been added.