Revert "Base of matrix product."

This reverts commit 6d12ad9c62a4a7d8cc5c77286613544be45ab4b9.