Bugfix for updateState()

There was a small bug in updateState() that created NaNs in some saturations, when trying to run the complete Norne case.

Some of the minor modifications made to ease debugging have been included.

Note that this fix is not in itself sufficient to run the complete Norne case...