Change Bag of Words variable names to be consistent with tutorial writeup