added bezier curve encoding script and a script that creates the right foot curve