Noise covariance identification for filtering and prediction