Distributed differential space time modulation, Simulation code