A Smooth Fitting Based on a Generalized Inverse Theory