Removed aux functions for inversions

Calling the solvers directly instead of hiding them behind a function.
Also added some utilities to walk an iterator to the end.