C++ implementations of phylogenetic calculations