Finished capability for probability functions to work on distributions in addition to raw data.
Merged with latest master.
Completed #frequency_mean