Cell/Comment: Fix typos in comment
KdTreeCell.scala: Renamed from KDTreeCell.scala
Document/Cleanup: Document return types better
textdb: Redo functions to write textdb, clarify doc strings
CreateBalancedCorpus: New file, first version, for creating a corpus balanced w.r.t. #docs in grid cells