ir_normalize function

Normalizes infrared spectra in an ir object