km_data function

Function to return survival data from a SEQuential object