A theory-based dinamical model of exaptive innovation processes