Incorporating excitation-induced dephasing into the Maxwell-Bloch numerical modeling of photon echoes