* adding a log object that writes to std::cout and a log file in the model directory
 * fixing an uninitialised jump warning from valgrind