Update docs after major memory related cleanup.
General cleanup.
Correct probability for tests.
Provide input file names in error messages. Fix #15.
Merge branch 'develop' into coverity-scan