calculate cov matrix instead of standard errors