data and code used for distance analysis