added length truncation to ts utility
merge in the new ts util with length truncation option

Merge remote-tracking branch 'upstream/master'
added dklminimizer and some use case