When truncating a list of intervals, only keep intervals with end >
start.
Added function to filter list of intervals by distance from diagonal.
Removes all intervals that are closer to the diagonal than given value
epsilon.
Changed fields in ImageRegion to be public and final, so they can be
accessed elsewhere but can't be changed.