Add method for smoothing data (not implemented yet).
Add Apache commons math library.