Code cleanup - LOG_M to replace write_output
The write_output function and related code is replaced by LOG_M. The keyword in the configuration file is "matlab". The file PHY/TOOLS/file_output.c is removed. All calls to write_output are replaced by LOG_M in the calling code.