Add inverse calculation and inverseNonGeneralized.