Text this: A New Electromagnetic Model for Determining the Speed of Photon Absorption in a Photocatalytic Process for Wastewater Treatment