Use Eigen to provide an (unused) matrix inverse.
Eliminate more direct references to ublas.
Replace ublas::matrix with hand-written matrix class.