NN-Field to Similarity Matrix