ir_smooth function

Smooths infrared spectra in an ir object