extract_sample_similarity function

Internal function to extract the sample distance table.