loggamma added