faster B3Kernel
added derivative test for distcorr and removed kernel cache
fixed bspline kernel
improvements to distortion correction and dB3Kern