C++ astronomical library