Revert "Vector3d change"

This reverts commit 572f2a1fabb7ba2640860baf5c6702686cc506eb.