Trying out a way to approximate data using TPS. WIP