pmm, normalized covariance bugfix