SPARK-2149. Univariate kernel density estimation

Taking the log of the normalizing constant and then exponentiating again feels like it could introduce tiny inaccuracies when it is avoidable. Sure, cache sqrt(2pi) as a constant but the exp can just be divided by that and stdev eh?