added interpolation

the plotted line is now smoothed out