Create a dict of core functions for use on cell_masks.
The core functions only work on a single mask.