Java wrapper for libgamma