Style fixes + more iterative - fix

Made iterative versions of  _GetLengthHelper and
_GetTValueAtLengthHelper.   Baseline tests show that they do the same
thing as recursive versions but more tests may be needed.