Rewrite of cov functions and matrix methods to tiedrank
Merge pull request #2035 from andreasnoackjensen/fixcov

Rewrite of cov functions and matrix methods to tiedrank