Distance Matrix To Dataframe In R, The vectorised form is: .