A Tutorial on Genetic Optimization of Fuzzy Sliding Mode Controllers: Swinging up an Inverted Pendulum with Restricted Travel