added postprocessing script and updated main code to output real values