A lot of refactoring.  Changed hashmaps to Breeze DenseMatrix objects which reduced the amount of code significantly.  Vocabulary is now a mapping from Strings to matrix column indexes.