invtrans added, special case inverse