added variation test on the basis of bags of words
Now with distributions instead of histograms
Removed bug X vs HistsX
Hopefully removed nan error in construction distribution instead of histogram visual words