Added some changes to latency Calculator
TODO need to fix the FAILED, UNREACHABLE_PEER status