Computation of TDF redistribution parameters added.

Still need to add more to finish redistribution.