Fixed error that prevented code from actually averaging

Version 0.1 had an error that made Periodogram.ps() average the same
part of the signal multiple times. Version 0.2 fixes this error.

The fixed algorithm was checked against figure 11 of Heinzel et al.
There are still variations of less than one percent in the ENBW and
NENBW values.