Added in a few more matrix algorithms.