Refactor transform functions to remove lambdas and inner functions
Refactor various functions into feature extractor classes
Fix WindowTransform to correctly overlap and fully cover data