ir_bc_sg function

Performs baseline correction on infrared spectra using a Savitzky-Golay baseline