For each element of x, return the probability density function (PDF) at x of the Gamma distribution with parameters a and b.