Dynamic neural networks in control