Added automatic creation of log directory based on experiment parameters