Kernel method for corrections to scaling.

Kernel method for corrections to scaling.