working version of MovementFeatures but untested. fixed loop in CentroidTrack to be 0 : N-1.