Recovery schemes of Hop Count Matrix via topology inference and applications in range-free localization