A C++ implementation of the original GIST feature