Added smoothing to the interpolation and removed some print statements.