compute_data_driven_covs function

Compute data-driven covariance matrices.