On the dynamics and adaptivity of mental processes: Relating adaptive dynamical systems and self-modeling network models by mathematical analysis