Fixes Vector latex printing in issue #2727.
Merge pull request #2728 from moorepants/vector-printing

Fixes Vector latex printing in issue #2727.