Add flag telling TPS to optimize for deformable part only

* Optimizations to this could be useful as currently there are 
large blocks of the matrix that are fully zeros that could slow
down the solving of the linear system.
Add float implementations of tps