MuMag standard problem #4 in 100 lines of Python