The Influence of Cognitive Factors on Balance and Gait