removed unnnecessary sine offset from locomotion