Statistics for Design and testing of a real time simulation for Trellis Coded Modulation