MAINT: add a module for markov-chain-on-tree functions for observation type y out of types x,y,z