dyadic_similarity function

Compare two rank orderings