Making vector order consistent.
Merge pull request #511 from thecelloman/triggerfix-issue#510

Making vector order consistent.