Structured Matrix Factorization