Postprocessing

Partially implemented post processing.