Refactored country bound calculation to GeometryUtil class

I also referenced 7Digital in the "How does it work?" section.