New Kernels For Density and Regression Estimation via Randomized Histograms