Finished capability for probability functions to work on distributions in addition to raw data.