A Materialist Theory of the Mind