[doc] Adding in matrix documentation