Added synchonizing motes. Added dividing data gathering rounds into stages.