Road shape classification for detecting and negotiating intersections | Synapse