An implementation of several matrix solving algorithms.