New Motion Code

New code added for motion tracking
Edits to the motion code