Various issues fixed, tester class included and more extensive description of algorithms and parameters included under the doc directory.