Fixes #10: Improved the batch featurizing, added distance function as parameter, added documentation, provided command line parsing for 20 news example. Other tweaks.