WIP: begin implementing distance matrix
cleaning up a bit
Merge pull request #1 from bmulvihill/distance_matrix

Distance matrix