Added basic cov and cor functions.