Merge pull request #1 from podpearson/master

minor bug fix to include highest values in a bin
fix version
fix gt bin edges; tree examples broken
closes #25; also fix bug in writing trees as newick
consistify anhima.loc API
rename as_alleles to as_haplotypes; rename pack_diploid_genotypes to pack_diploid, similar for unpack_diploid_genotypes; remove noop code
implement mds
closes #13 by adding classical mds
diploid inheritance
fix af bug; rerun examples
closes #4; closes #26
sanitise notebooks
minor
fix labels on pairwise distance plot
minor
tweak parameter naming
rework allele frequencies module for greater flexibility
work on sfs
site frequency spectra
site frequency spectra initial implementation