Added more functionality to vectors.
Expanded vector tests.