A study on robust clock synchronization in a distributed netwok using mathematical techniques and tools