add K04Tolerance and reading result files functions