Add correlationMatrix function
Add test for symmetric matrix