Added a routine to set individual values in tdfield_t data.

Eliminated tdfieldb variable, now unncessary.
Now all the fields in optimal_control routine are tdfield_t types.