proper averaing of cov matrix