dmstate function

Survival Distributions with piece-wise constant hazards and multiple states