added more docs, matrix inverse and matrix transpose.