Added a few more methods to the interval class.