https://9dok.net/document/zpnm2k2r-improved-method-computing-multistate-survivorship-proportions-terminal-groups.html