ARI function

Adjusted Rand index