added array access to vec3 and quat
added methods .toArray to Vec3 and Quaternion