Factorization of Structured Matrices