A topological description of the state space of a cellular neural network