Bag of words distance added through BagOfWords.java
Merge origin/master