Python 3d Smoothing