Mathematical Modeling of the Spreading of Innovations in the Ancient World