refactoring; add fit performance statistics; correcting setup for lognormal fit