Added capability to adjust density of points used in interpolation. Used it for k=3.