How Is Correlation Matrix Calculated