covariance-matrix.c: Add matrices to store valid sample sizes and