In a rectifier circuit, the primary function of the filter is to