Cellular Automata and Riccati Equation Models for Diffusion of Innovations