Kernelized kNN

Changed LearnedAnts to scale the weight of the k neighbors using
a kernel. Updated FastKNN to allow pulling the actual neighbor
values. Updated the CFLAGS used in building JNI libraries to
include -fPIC due to errors building on mellifera