BUGFIX on Vector3Pathway for cyclic paths

On cyclic paths it was assuming that there would be an extra node, when
what it should have done was add a final node at the same point as the
origin.