code for multiple Markov renewal process inference in timestamped event data