Compute Kendall's tau