upgraded getFluxAtReferenceWavelength

using numpy.searchsorted