CpD function

Calculates the rate of accumulation of phylogenetic diversity (CpD) over time slices