Add function to check covariances for consistency in stochastic simulations