Advanced Neural Network Controllers And Classifiers Based On Sliding Mode Training Algorithms