Surv2data function

Convert data from timecourse to (time1,time2) style