Changed the CPU time finding to reading the logfile
added logfile reading funtionality
output to MAT files for easy reading