started creating functions for py and dxy in R using biostrings.
written popgen functions in R, using ape objects and functions - very fast
not exactly sure... commit needed before merging...