Toggling energy landscape to enable commutative and non-commutative responses in multistable structures | Synapse