Predicting and Controlling Complex Dynamical Systems