Trace distance measure of coherence for a class of qudit states