First commit for phylodyn package--adapted from my local package 'statgentools'.