means function

Mean and restricted mean survival functions