Multi-terminal capacitor sensors