Fix KPM expansion coefficients (now use Chebyshev-
Gaussian quadrature for much high accuracy).

Various other cleanup