Subtree is based on https://github.com/sjoelund/dgesv
