Add thin plate spline maping for ij