Improved the egomotion estimator class