Finnished geometric smoothing. Added generated comments to APC sample. Added generated smoothing to APC sample.