rescale function

Rescale phylogenetic objects of different types