added some preprocess methods
override compareTo() method
override compareTo() method
added a method to add up all (term, its context vector) together
a tiny change