Added cov and cor functions
Solved bug at transpose