Update PERMTGEN.cpp