Some fixes for tutorials
Description
- Fixes a wrong formula in the optical conductivity tutorial.
- Fixes some problems with the magnon tutorial
- Adding a manual page on profiling and debugging
Closes #980
News snippet
Fixes and improvements on some tutorials.