Modified CpmModelC to provide lossless communication.
Turning off and releasing motes at the end of the simulation.