Added support for polynomial fitting.
Added content for fitting section.