More fixes for separate smooth; new postprocessing.R file