Numerical simulations of the Magellanic system – I. Orbits of the Magellanic Clouds and the global gas distribution | Synapse