Update warp procedure

Replaced getPoint calls with getXYZ to always return an x,y,z vector.