bugfix when making interpolation function using interp2d
Merge branch 'check_points' into do3d2