kde added

- kde using single tree added
I'd rather have this code in the implementation file.