Creates a dict of core functions that can be used on an array of cell_masks. The core functions only work on a single mask.