Smooth3d

Re-engineers mesh smoothing.