given a table with synchronous positions, compute all distances for a specific column-pair (sample-pair)

get_pw_dists(data, ind1, ind2, ...)