Reverted TwoD_Interval storage type to int to prevent return type conflict with virtual functions definitions in Interval.
Various bug fixes in Emin's package, these were likely caused by changes in the C++ language standard since the code was written.