Convert _pos3d from Array [0,1,2] to Object {x,y,z}

When using the pos3d() getter method, x, y, and z values are returned in an array. This patch just make pos3d() and its _pos3d internal representation to return a readable {x, y, z} object instead of an indexed array.