improve efficiency of element reversal

instead of instantiating a new Vector and using two full-length loops,
we can rotate elements about the center through a swap var.

this shortens the loop to one half and uses the Vector already in memory
add unit tests for even number of elements, single, and empty
Merge pull request #182 from ellemenno/PBG-Vector-reverse

improve efficiency of element reversal