Segment and window columnwise

Segments are (fq, time) instead of (time, fq). Adds tests for Segements.