Fixed tool.window function
A function can be passed to alter the return value. The default is tuple. This
 will copy the values from the deque to prevent them from being altered by the
 function.
The function will raise an error if the window is greater than the sequence
 length.
Also added comments
Completed two sequence feature generators and their tests