Added vector swap method