Parallel simulation of cellular neural networks