GENETIC ALGORITHM OPTIMIZATION OF PID CONTROLLER FOR A FLEXIBLE MANIPULATOR