Dropped weight argument. Corrected update of entries of the covariance matrix