Change analysis function to kendalltau