gridfun function

Specifies grid for the calculation of the halfspace location depths