An enhanced control technique for the elimination of residual vibrations in flexible-joint manipulators