Text this: Compartmental modelling, semi-Markov theory and implementation /