SAPA: Library of Lisp functions for spectral analysis and statistics