Added cumulative density function to damage calculations