Working on O(n^3) matrix multiplication. Not working as expected, but haven't thought about it clearly yet. Will finish later.