eraticated NaN and renamed getPDF to getProb