function for slicing phylo.out and all.populations at a particular point in time