Making few changes in scripts of the Program_Examples/Magnetism directory

12 jobs for testing-fpm in 6 minutes and 29 seconds (queued for 4 seconds)