time update, weighted covariance bug fix