An analytical X-ray CdTe detector response matrix for incomplete charge collection correction for photon energies up to 300 keV. (May 2018)