Now records data into memory...next is to spawn a new thread to
calculate features for a time window, save it to the csv, and discard
the time window.