added external command to build soley external files
changed the code to support a field of multiple dimensions. next steps: cleanup and tests
modified resultvector of calculateMeanMagnetization