Added functionality to subtract/add baseline in a systematic way