commenting out unused variables and adding update to variables needed for relationship formation function
commenting out unused variables and editing line for updating the cumulative hazards [from (:) to (P0.subset)]
commenting out unused variables