Added distance from pose calculation script.