Kernel density estimation: manual bandwidth, sample estimated PDF
uniformly (sample rate from input minimum sample distance).
CDL export.
BMP import, fix CDL export.
Fix BMP import.