Diversity and the Geometry of Similarity