Removed the value map and the default error value from the State constructor. Added extra methods to ascertain the flux value before using it.
Updated a comment.