Text this: Adaptive variable structure controller using neural networks