Locomotion, oscillating dynamic systems and stiffness regulation by the basal ganglia