Majority effect in cooperative localisation of mobile agents using ranging measurements