MAINT: the markov chain likelihood calculation function now has a more flexible interface