fixed bug giving pdf output of clustering to MIST
handling empty result file and result files from previous runs in output compilation