Finished Quaternion and Vector math for Lua