Batch mode periodogram (PSD) processing updated.

Periodogram processing possible now without global references.