Subset a distance matrix
subset_dists(bin, dists)
bin
dists
A distance matrix for only the data points in the input bin.
Useful links