Added better methods for reading a 3d vector from script.