added word count to SegmentedTextDocument
created a double matrix using Colt
creating mechanism for local/global functions based matrix builder
(todo) and the TFIDF implementation