example: atom_modify sort 1000 4.0 (Freq. of sorting, Cutoff distance)
In order to print the actual time with the total mag., the vector associated to the mag. compute was modified. It is now: [time, Mx, My, Mz, |M|, En_mag]
Optimization of the spin_compute routine: energy and mag. have been gathered in a same loop.