ir_subtract function

Subtract infrared spectra