Title: The covariance matrix of runs and ties