Smart Adaptive Neural Network for Humanoid Motion Control