Fuzzy position/vibration control of a 3-DOF rigid robot with a flexible tool