Completed Motion capture code: 2013/10/15