find_dists function

Calculate (signed) distances between coordinates