fixed the angle computation bug, added a few modifications on functionality (e.g. userdata.use_perimeter_goal)