Add create1dPSD for aligning nr samples etc.