covariance-matrix.c (covariance_accumulator_to_matrix): Use sum_i and