textitC. elegans locomotion: an integrated approach