Modeling the 3D World and its Motion