Implemented contains(CellSet) method in Geomatrix, with several optimizations