added some more documentation to the Matrix module