Text this: Ternary complementary sets and its application in UWB