Added smoothing

Average smoothing works, with artifacting of unknown cause.