added kde function from the ks package to bin 4-D data, removed KernSur function