Text this: Optimization Reinforced PID-Sliding Mode Controller for Rotary Inverted Pendulum