LDF function

Local Density Factor (LDF) algorithm with gaussian kernel