added some new functions: pdf, cdf, randomFromCDF, and
bitwiseJaccardIndex