added output stream, copying all jets
Writing out good jets
added valgrind output