Alter the first line and see if it works as intended
def PointCull(Plist:var[])
This worked perfectly! Thank you for your help Vikram.