SelBox function

Select spatial region from multidimensional arrays