A set of ruby methods for common geospatial calculations