Add some more matrix code.