smooth3D function

Auxiliary 3D smoothing routines