* Added an "at" method to segmentation and a new exception. This new method throws an exception if a segment cannot be found.

* Fixed unused local typedef