Matlab function to compress a numerical grid matrix using linear interpolation. Useful for compressing computational results before plotting, yielding increased plot performance.