Compute covariance matrix after 10 inputs of a word