mat6