Modeling the impact of defects on the charge collection efficiency of a Cadmium Telluride detector