Smoothing and Approximation of Functions