Structural analysis of dynamical networks: BDC-decomposition and influence matrix