This also adds a `w` component to a `Cartesian3`. Make `finalPosition` a `Cartesian4`.