How to get dot product matrix from pairwise
distance matrix?
k
j
i