thin_wl function

Thin the density of wavelength values