#TODO: Add a check in compute_varmap_coefficients that the size of the covariance matrix matches the number of sparse environments