Analysis and Control of Neural Network Dynamical Systems