Multithreaded context related bugs fixed
Warnings removed
Reformatted to standard
Added new test. Javadoc added.
Abstract Statistician added for easier implementations.