Refactor energy calculation functions

* Use const references rather than pointers

* Move LLGProblem::calculate_energies to .cc file
Add damping calculations by a third method
Rearrange functions in parse.py
In parse.py plot_vs_x functions add option to skip initial values
In parse.py trace plot use separate axes
In parse.py add damping vs time plot