Combining Neuroscience, Psychology, and AI Yields a Foundational Model of Human Thought