MATLAB Implementation of the 2-D density Estimator