Throw if elliptic solve fails.
Improve exception message, add (disabled) debugging helpers.
Fix saturation-change bug in updateState().
Merge pull request #182 from atgeirr/bugfix-updatestate

Bugfix for updateState()