Functions smoothI, smooth, smooth3I and smooth3.