KDE - Fourth Iteration

This code is now compiling. The only problem is that in the compute_nn method I need to return an SGMatrix< float64_t > (while the nearest_neighbor() returns an < index_t >, to be used in the compute_PDF method inside the compute_pdf.

Any ideas on how to fix this, as well as any other feedback?