added functions
2d periodogram
moved functions and fixed export