Integrated the phylogeny.

Commit is only because the code compiles. Testing that the program
produces the same results remains to be done.