Move integrate over mesh function to magnetics_helpers.cc
Add a random analysis script from a while ago

Not sure what it was for but safer to keep it...