If you use the command:
AgentDistOnTransPath_Case1_FHorz_PType()
you need to modify your codes so that it includes PTypeDistParamNames as an input. This change brings it in line with the other AgentDist PType commands. It was also needed when adding functionality so that ptype masses can vary over the transition path.
Apologies for any inconvenience caused.