Fixes inversions so they preserve data.
Adds tests for divergences.
Fixes raise assertion.
Adds tests for core module.
Don't allow nulls.
Adds tests for raise() validation.