ir_bc_polynomial function

Performs baseline correction on infrared spectra using a polynomial