added & fixed javadoc accross the library
added documentation on statistics