A C++ implementation of Geometric Context