Add Thin Plate spline mode and test