Neural Networks, Cognition, and Diabetes: What Is the Connection?