Geometry class updated, extra exception handling features

...ption handling.