added bibtex functionality to documentation, and added one example in spectra/tools.py