C++ port of several functions (gamma log-derivatives) from http://commons.apache.org/proper/commons-math/javadocs/api-3.5/org/apache/commons/math3/special/Gamma.html