math: improvements to the fp binomial implementation.

Now uses the logarithm of the gamma function.