Adding test and fix in wavelength in order to work with numpy arrays