Got the figure to animate, but it spazzes around.  Next, take a second look at how the coordinate systems are defined.