Factorization of matrix and operator functions the state space method (Birkhauser, 2008)