Added copy constructor for vec3d