Modified files generation in localization.m and tested all algorithm to determine which was better