Velocity tracking works. Also added deformation parameter.