Fix bug in periodogram introduced during memory optimisation