Feature: magnetization profile

The materialProfile is a very helpful tool to check if the model created corresponds to the intended sample structure.

I propose the addition of a magneticProfile or magneticMaterialProfile function that also returns the sliced X,Y,Z values of the average magnetization of the sample.