Tweaks

Tweaked pp_ATPAFromTPA, pp_Clone and pp_SetLength