Default window function return a single scalar equal to 1 to avoid allocation of an extra arrya of ones. Also improved documentation.

Multiplication is still performed, but does not appear to affect total timing, which are dominated by the fft anyway. Tests to be added.