check_data
tests if the data matrix has the right format, and if it is
correctly ordered to match the tips names.
check_data(phylo, Y_data, check.tips.names)
a phylogenetic tree, class phylo
.
matrix of data at the tips (pxntaxa)
(bool) whether to check the tips names or not
Y_data a re-ordered matrix of data (if necessary)