Fixed bug in KernelDensityEstimation.cpp

had to put inline GCC attribute before function declaration