Fix and refactor stat_density
Fix and refactor stat_density

- Some (those in the sandbox) statsmodel kde methods
  compute densities one point at a time.

- Put the density calculation in compute_density.

has2k1/plotnine,has2k1/plotnine