added interpolation and plotted mat