logger

eliminated .log file, fixed mat file generation