Removed :type matrix from various factorizations.

Should fix issue #16. This is a quick and dirty fix, at the expense of
code clarity, but currently I don't have a good solution for the whole
type hierarchy.