Add some more flexibility to baseline/spike removal