in the following code in euclidean hash some of the result of the rand.nextGaussian() implementation is negative when set dimension 100 and w is 2. which affect in the hash method.
public EuclideanHash(int dimensions,int w){
Random rand = new Random();
this.w = w;
this.offset = rand.nextInt(w);
randomProjection = new Vector(dimensions);
for(int d=0; d