Updates on dose calculation.
Remove output files