Highly controllable switching pathways in multiferroic GdMn2O5 | Synapse