added some parameters to map_accessibility_analysis and a state machine for ApproachPerimeter