David Scott's ASH routines
ash1
Computes univariate averaged shifted histogram (polynomial kernel)
ash2
Compute bivariate ASH estimate (product polynomial kernel)
bin1
Function to compute array of bin counts for a data vector
bin2
Bin bivariate data x