really fix the None problem

Right -- the index is None, so we got an error asking for P4[None], not in trying to take the CosTheta(p4,None).