preprocess data into a pickle
minor tweak to prepare for parallelization