Finish documenting division, inversion and fix a bug.