Allow building the matrix in once using mark. Adding matrix multiply.