Started writing own kernel estimation code