av_long_infected function

Average longevity: estimate for infected hosts