ir_get_wavenumberindex function

Gets the index of a defined wavenumber value for a spectrum