fix some documentation errors
add entropy calculation at all levels

- fixes #17
- includes test of correctness based on a test for a population mean
- includes API exposure
- includes API check
- has no input checks
add entropy API  and API check files