fix type signatures
the subtle movements of a troubled mind
mutate dictionary rather than reassigning
fixing extra column problem
need to build the matrix with both classes so that the vocabulary/index mapping stays consistent and we get the same vocabulary lists