Implemented Permutation.inverse().