Fuzzy controller parameters optimization by using genetic algorithm for the control of inverted pendulum