Added a simple smoothing cellular automata function.