changes XYZ and Zero vectors from vals to defs