check_wl_stepsize function

Check consistency of wavelength step size