Added IVSS_Unit_CheckType, added Lua simulator