add documentation for cov and cor (new api)
Merge pull request #6358 from lindahua/master

add documentation for cov and cor (new api)