Get sampling for mocap example working