added tail probability estimator
added a new example
fixed stuff
cleanup