Fix setX, setY, and setZ

Square brackets were missing when creating a Float32Array, causing a
"RangeError" at runtime when trying to set values into a vec3.