public KernelDensityFunction(Collection<double[]> points){
  this(points.toArray(new double[points.size()][]));
}

public KernelDensityFunction ( Collection < double [ ] > points ) { this ( points . toArray ( new double [ points . size ( ) ] [ ] ) ) ; }
creates a new kernel density function with the given points
