Calculating mean total life span