fourierseries.m: change interpretation of window input

Instead of a function handle to the window function, the window input shall be from now on the window vector. It allows for more flexibility, for example when the window has parameters.