Function to transform data without time-dependent covariates into piece-wise exponential data format
Useful links