playing with ways to avoid writing to file on every line individually ... trying to print to an internal buffer first
it's pretty slow to just walk through all the data and generate these string buffers
matlab test code takes ~25sec to write 5 pyramid hog scales to CSV. that's about 50x faster than voc5's hog extraction. Probably should invest some time in looking at faster Matlab file I/O