Added Genz Algorithm for constant function g.