Artificial neural network,theory and application to dynamics modeling and advanced control of autonomous underwater vehicles