updated pseudo algorithms for localization in team report