Modified to work with Vicon motion capture system