ir_correct_atmosphere function

Corrects artifacts in a spectrum based on reference spectra of the artifact compound