testing smoothing algorithm... seems ok
finish interpolation