Most of this code was written before 2016, and about half of it was written by me, Josh Maglione. I did not program well, and there are lots of places in the code that need to be refactored.
Updating documentation with examples.
Adjoint algebras are computed multiple times. In particular, when we split the tensor into flat and sloped parts, we typically recompute adjoints. We should fix this.