Removed unused code from CellularAutomata class