Modified periodogram to follow the same interface of the other periodogram estimation function. Result is also normalised when using window function.