Distributed Optimal And Predictive Control Methods For Networks Of Dynamic Systems