Stratigraphic Tree Analysis for Palaeontology