core changes for #284; add cell batch
Merge pull request #291 from hmslincs/cell_batch2

closes #284