Deterministic control of ferroelastic switching in multiferroic materials.