Added smoothing methods, started working on splines.