[WIP] Locality Sensitive Hashing for approximate nearest neighbor search(GSoC)

Is that including the cost of computing those constants every time? Also, note that this is a sum of corresponding products, i.e. a dot product.