In the document IBKernelnote.pdf \beta(r) is defined as
$\beta(r) = 9/4 - 3/2(K + r^2)r + (22/7 - 7K)r - 7/3 r^3$
In the implementation the \beta(r) is taken as
$\beta(r) = 9/4 - 3/2(K + r^2) + (22/7 - 7K)r - 7/3 r^3$
given in line 29 of code Kernels.c
(beta = 9./4 - 1.5 * (K + R2) + (22./3-7*K)*R - 7./3*R3)
The second term in the documentation 3/2(K + r^2)r has an extra factor of r.