pca.supplementary.vertex.fun.j.new function

Calculate the distance