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