adding bagging of state_ekf