Computing in nonlinear media and automata collectives