Fixed bug in locomotion_turns