Text this: On the use of functional calculus for phase-type and related distributions.