modified the location of the codebook and updated the binsize in ComputeBagOfWords and ConstructCodebook