add kde.m

add kde.m that computes Kernel Density Estimation.