An internal function that computes the spatial neighbours for voxels. It is an internal function called by morph3d() and not intended to be called on its own.
Useful links