Adaptive command shaping using genetic algorithms for vibration control of a single-link flexible manipulator