Starting to derive covariance matrix