re-globalize PVector. update code so tests pass. fixes #99