Mindcraft: a Dynamical Systems Theory of Cognition