pulled distributions out of functions in doc
merged new functions back in without distributions
finished merge of distribution functions in doc