[localization] Continues implementation fo time synchronization.
* Implements the least-square method with iterative sums computation.
* Corrects some bug in network time computation.