Removing the baseline from signal