The magnetic stratification of layered mafic intrusions: Natural examples and numerical models