Continuous Classification of Locomotion in Response to Task Complexity and Anticipatory State