Simulating Radiation damage, effect on energy gain non-linearity