Kendall rank correlation and Mann-Kendall trend test