A C++ implementation of polyharmonic/thin-plate spline transformation/interpolation