Modify house_matrix_columns to factored form.