Finds Optimum time for a given wavelength and wavelength range.