Cleaned up code. Added a utility to check the duration of videos and compare it to motion capture.