Corrected simulation time in Cooja scripts. Modified timers for printing summary stats  in intermediate and sink programs