Working now through NaiveBayes.trainNB(..).  Still need to refactor some. (testing in spark-shell without spark optimization). Copying to Int-keyed DRM is very slow.