make functions' parameters 4 space indented,  deleted unused `generateNaiveBayesInputAsList`, and add javadoc for `NaiveBayesModel`