Using the right points in the animation loop

There were two problems:

* there was no [0,0] point to start from in the coordinates array
* the animation loop was sending in the position of the first of each pair of points to moveActor instead of the destination point (which is why it was running out of points and throwing that error about 'x' being undefined)