Added log file creation

Now also a log file is created with all relevant information about
calibration settings