Foundations of Augmented Cognition