Add power spectral density calculating function to mathmagic.fun.