bug fix: prevent negative n_windows
Merge pull request #46 from rachelhornung/master

bug fix: prevent negative n_windows
Merge remote-tracking branch 'upstream/master'