Added function to prepare an annotation matrix for usage in a phylogenetic Bayesian network.