Changed swap member function to use elementwise swap
Added member swap function
Fixed implicit cast warning
Added vector swap tests
Added missing data component to vector
Extended vector test case