Removing test code.
Implemented code to compute direction after moving to another face.

It is unclear why but the code seems to have an issue relating to
a point being indicent on two faces, but seems to get the motion right
eventually.

For now, there is debugging print statements in there and they produce
output like this:

--------------------------------------------------------
--------------------------------------------------------
--------------------------------------------------------
--------------------------------------------------------