Structural Analysis and Control of Dynamical Networks