ENH:  Similarity measures.