Modified GNMethod::inverse; modified PMethod