A simple geological C++ library