Working on locomotion_bends.py