CustomKernel fixes

Fixes issue where ``_truncation`` was left undefined for ``CustomKernel``.

Also fixes issue with ``_normalization`` when ``CustomKernel`` input array sums to zero.