Enhancing legal driving for autonomous vehicles through law-compliance potential fields | Synapse