Real-Time Path Planning and Terrain Obstacle Avoidance for General Aviation Aircraft