pairwise distances experiment added