Active damping of tool vibration