Reparameterized dgamma
Unittested dgamma