Made merging of vectors work in a 3D vector space.