refactoring to call fixed_discrete_covariance