Theory and Modeling for the Magnetospheric Multiscale Mission