CalculatePSD function

Spectral Density Estimation