ash1_wgt function

Compute the average shifted histogram (ASH) for one-dimensional weighted data