Fixed dimensions of x before computing psd.