Added Regions class with utility methods.
Added DummyMask and DummyMask2D.
Added a BlockMask(BaseBlock... block) constructor.
Added LayerVisitor and LayerFunction.
Converted //naturalize to visitors.