ENH: Continued work on adaptivity. Now having a dimensionally adaptive sparse grid working on a refinement criteror which is calculated from the haar coefficients for the histogram.