Use linear interp instead of image smooth to fill in holes in surfaces
little touch of variables name when calculating the ground matrix