hdepth function

hdepth of points