fixed normalization in covarianceMatrixOfRows (patch by RegiTheSter, whoever that is)