intersection of two vectors in 3d