Changed the assertion that bounds x is finite and not NaN to: must be empty or finite, see #6