Edited time-scaling and phyloDiv to use both is.binary.tree and is.rooted to check if a tree is truly dichotomous; added new function collapseNodes