Added examples to SetCells.py. Also made miscellaneous changes to other files